package com.github.pudding.service.impl;

import com.github.pudding.model.Goods;
import com.github.pudding.persistence.GoodsMapper;
import com.github.pudding.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Stephen
 * @since 2018/9/14
 */
@Service("goodsService")
public class GoodsServiceImpl implements GoodsService {

    @Autowired
    private GoodsMapper goodsMapper;

    @Override
    public void insert(Goods goods) {
        goodsMapper.insert(goods);
    }
}
